home *** CD-ROM | disk | FTP | other *** search
- Hey all,
- I'm a little worried about asking this question seeing as everyone has a
- short fuse on this list, but here goes..
-
- I'm too aquainted with extensions, but I'm under the impression that they
- are "add-ins" for amos.. right?
- Now, I have 2 pc's <it take 2 to equal 1 amiga ;) > and I do some coding in
- Visual Basic <if you can call that coding>, one feature I like from VB is
- the SELECT CASE thingy.. I've been looking at alot of my AMOS coding and I
- see alot of "if x = "XXX" then... : if x = "YYY" then..." statements and I
- could save myself alot of coding if AMOS had the SELECT CASE statement.
- Would it be possible for someone to make an extension to allow that?
- For those of you who don't know how SELECT CASE works..
-
- IF.. THEN Statements:
- ---
- INPUT X$
-
- IF X$ = "Hello" THEN PRINT "Hello right back, Buddy!!!"
- IF X$ = "Goodbye" THEN PRINT "Ok, seeya!!!"
- ---
-
- SELECT CASE statements:
- ---
- INPUT X$
-
- SELECT CASE X$
- CASE "hello"
- PRINT "Hello right back, Buddy!!!"
- CASE "Goodbye"
- PRINT "Ok, seeya!!!"
- END SELECT
- ---
- ----------------ICQ# 1860019-------------------
- ------------VB5-Learning-Edition---------------
- -------"To Transcendence and BEYOND!!!"--------
- --Original Art, stories, & all original minds--
- ------- http://www.radiks.net/skid/ -----------
- -----------------------------------------------
-
-